package Web;

import Covid.enums.DiagnosisResult;

// DiagnosisResponse.java
public class DiagnosisResponse {
    private final String resultCode;
    private final String advice;

    public DiagnosisResponse(DiagnosisResult result) {
        this.resultCode = result.name();
        this.advice = result.getAdvice();
    }
    // getters
}
